extends Talent
var buff = globalData.infoDs["g_azurlaneBuffs"]
func init():
	name = "舰队护航"

func _connect():
	sys.main.connect("onBattleStart",self,"run")

func run():
	for i in sys.main.btChas:
		if i.team == 1 and i.cell.x <= 1:
			i.addBuff(buff.b_hurtVal.new(1-0.10-lv*0.02, 0, true))

func get_info():
	return "战斗开始时，我方最后两列的单位获得%d%%减伤"%[10+lv*2]

	